package com.haruhi.bot;



import com.haruhi.bot.job.JobManage;
import com.haruhi.bot.job.PutPixJob;
import com.haruhi.bot.service.PixPictureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class SystemCommandLineRunner implements CommandLineRunner {

    @Autowired
    private JobManage jobManage;

    @Override
    public void run(String... args) throws Exception {
        jobManage.startAll();
    }
}
